package com.tyao.note.model;

import java.util.Date;

/**
 *   
 *
 *
 * @mbg.generated do_not_delete_during_merge Thu Aug 02 11:07:01 CST 2018
 */
public class BFolder {
    /**
     * 文件夹id
     */
    private Long id;

    /**
     * 文件夹名称
     */
    private String folderName;

    /**
     * 默认文件夹,新建用户时默认提供以用户命名的文件夹，并且不提供删除功能,首次 为true，之后均为false
     */
    private Boolean folderDefaut;

    /**
     * 文件夹的父级
     */
    private Long folderParentId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 修改时间
     */
    private Date modifiedTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_folder.id
     *
     * @return the value of b_folder.id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_folder.id
     *
     * @param id the value for b_folder.id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_folder.folder_name
     *
     * @return the value of b_folder.folder_name
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public String getFolderName() {
        return folderName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_folder.folder_name
     *
     * @param folderName the value for b_folder.folder_name
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setFolderName(String folderName) {
        this.folderName = folderName == null ? null : folderName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_folder.folder_defaut
     *
     * @return the value of b_folder.folder_defaut
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Boolean getFolderDefaut() {
        return folderDefaut;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_folder.folder_defaut
     *
     * @param folderDefaut the value for b_folder.folder_defaut
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setFolderDefaut(Boolean folderDefaut) {
        this.folderDefaut = folderDefaut;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_folder.folder_parent_id
     *
     * @return the value of b_folder.folder_parent_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Long getFolderParentId() {
        return folderParentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_folder.folder_parent_id
     *
     * @param folderParentId the value for b_folder.folder_parent_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setFolderParentId(Long folderParentId) {
        this.folderParentId = folderParentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_folder.user_id
     *
     * @return the value of b_folder.user_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_folder.user_id
     *
     * @param userId the value for b_folder.user_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_folder.create_time
     *
     * @return the value of b_folder.create_time
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_folder.create_time
     *
     * @param createTime the value for b_folder.create_time
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	public String toString() {
		return "BFolder [id=" + id + ", folderName=" + folderName + ", folderDefaut=" + folderDefaut
				+ ", folderParentId=" + folderParentId + ", userId=" + userId
				+ ", createTime=" + createTime + ", modifiedTime=" + modifiedTime + "]";
	}

    
    
}